import type { RouteRecordRaw } from "vue-router";
import type { CategoryObj } from '@/api/product/attribute/type'
// 小仓库数据state类型
export interface UserState {
    token: String | null;
    menuRoutes: RouteRecordRaw[];
    username: String | undefined;
    avatar: String;
}

export interface CategoryState {
    c1Id: string | number,
    c2Id: string | number,
    c3Id: string | number,
    c1Arr: CategoryObj[],
    c2Arr: CategoryObj[],
    c3Arr: CategoryObj[],
}